<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">X</button>
    <h3 id="myModalLabel"><?php echo $specialty['nombre_especialidad']; ?></h3>
</div>
<div class="modal-body">
    <form id="form_edit_specialty" action="<?php echo base_url(); ?>AdminController/updateSpecialtyInfo" method="POST">
        <input type="hidden" name="specialtyId" id="specialtyId" value="<?php echo $specialty['ID_ESPECIALIDAD'];?>" />
        <table width="100%"> 
            <tr>
                <td>
                    <label>Duración Promedio (minutos): </label>
                    <select name="specialtyTime" id="specialtyTime"class="select">
                        <option value="10" <?php if ($specialty['minutos_cita'] == 10) { ?> selected <?php } ?>>10</option>
                        <option value="12" <?php if ($specialty['minutos_cita'] == 12) { ?> selected <?php } ?>>12</option>
                        <option value="15" <?php if ($specialty['minutos_cita'] == 15) { ?> selected <?php } ?>>15</option>
                        <option value="20" <?php if ($specialty['minutos_cita'] == 20) { ?> selected <?php } ?>>20</option>
                    </select>
                </td>
                <td>
                    <label>Adicionales a atender (dia): </label>
                    <select name="specialtyAditional" id="specialtyAditional" class="select">
                        <option value="1" <?php if ($specialty['adicionales_dia'] == 1) { ?> selected <?php } ?>>1</option>
                        <option value="2" <?php if ($specialty['adicionales_dia'] == 2) { ?> selected <?php } ?>>2</option>
                        <option value="3" <?php if ($specialty['adicionales_dia'] == 3) { ?> selected <?php } ?>>3</option>
                        <option value="4" <?php if ($specialty['adicionales_dia'] == 4) { ?> selected <?php } ?>>4</option>
                    </select>
                </td>
            </tr> 
        </table>
    </form>
</div>

<div class="modal-footer">
    <button class="btn" data-dismiss="modal" aria-hidden="true"><i class="icon-arrow-left"></i> Atrás</button>
    <button class="btn btn-danger" data-dismiss="modal" onclick="$('#form_edit_specialty').submit();"><i class="icon-save"></i> Guardar</button>
</div>